﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DAO;
using DTO;


namespace BUS
{
    public class KhuyenMaiBUS
    {
        KhuyenMaiDAO kmDAO = new KhuyenMaiDAO();

        public List<KhuyenMaiDTO> LayDanhSachKhuyenMaiBUS()
        {
            KhuyenMaiDAO kmDAO = new KhuyenMaiDAO();
            return kmDAO.LayDanhSachKhuyenMai();
        }
        public List<KhuyenMaiDTO> LayChiecKhau_theoma(int makhuyenmai)
        {
            KhuyenMaiDAO kmDAO = new KhuyenMaiDAO();
            return kmDAO.LayChiecKhau_theoma(makhuyenmai);
        }
    }
}
